// 修复模态框遮罩层问题
.ant-modal-root {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 1000;
}

.ant-modal-mask {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
}

// 防止遮罩层重叠
body {
  .ant-modal-root:not(:last-child) {
    display: none;
  }
} 